Skip to content

Audit reflective compatibility helpers against surface model#6

Merged
Gabriel-Darbord merged 3 commits into
mainfrom
codex/audit-surface-reflection
Jun 26, 2026
Merged

Audit reflective compatibility helpers against surface model#6
Gabriel-Darbord merged 3 commits into
mainfrom
codex/audit-surface-reflection

Conversation

@Gabriel-Darbord

Copy link
Copy Markdown
Member

Summary

  • move compiler-error compatibility helpers out of core and into Pharo 13 surface runtime packages
  • replace respondsTo:/perform:/instVarNamed: helper logic with direct surface contracts
  • keep Author as an explicit global boundary while trusting its protocol directly

Verification

  • Pharo 12: PharoCompatibilityTest + PharoCompatibilityP13SurfacePharo12Test via SUnit under Author useAuthor: => 8 run, 8 passed
  • Pharo 13: PharoCompatibility-Tests, PharoCompatibility-Pharo12Surface-Pharo13-Tests, PharoCompatibility-Pharo13Surface-Pharo13-Tests => 7 run, 7 passed
  • Pharo 14: PharoCompatibilityTest, PharoCompatibilityP13SurfacePharo14Test, PharoCompatibilityP12SurfacePharo13Test => 13 run, 13 passed
  • source scan: no respondsTo:, perform:, or instVarNamed: matches in src

Fixes #5

Gabriel-Darbord and others added 3 commits June 26, 2026 18:08
Move compiler-error extraction out of core and into the Pharo 13 surface package for the Pharo 13 runtime. Keep Author lookup as an explicit global boundary while trusting the Author protocol directly.

Co-authored-by: Codex <codex@openai.com>
Add direct Pharo 12 and Pharo 14 implementations for syntax and undeclared-variable extraction in their Pharo 13 surface packages. Cover the surface contracts without reflective probes.

Co-authored-by: Codex <codex@openai.com>
Return class-name symbols from syntaxErrorNoticeClassName and update surface tests to pass class-name symbols where APIs accept them.

Co-authored-by: Codex <codex@openai.com>
@Gabriel-Darbord Gabriel-Darbord merged commit 0b4cf82 into main Jun 26, 2026
3 checks passed
@Gabriel-Darbord Gabriel-Darbord deleted the codex/audit-surface-reflection branch June 26, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Audit reflective compatibility helpers against surface model

1 participant